/**
 * 
 */
package com.arx.interactive;

/**
 * @author Donald
 */
public class TreatZoneIO {
	private InteractiveObject	io;
	private long				ioflags;
	private long				num;
	private long				show;
	public void clearIOFlags() {
		ioflags = 0;
	}
	public InteractiveObject getIo() {
		return io;
	}
	public long getNum() {
		return num;
	}
	public long getShow() {
		return show;
	}
	/**
	 * Determines if the {@link TreatZoneIO} has a specific flag set.
	 * @param flag the flag
	 * @return true if the object has the flag set; false otherwise
	 */
	public boolean hasIoFlag(final int flag) {
		return (ioflags & flag) == flag;
	}
	public void setIo(InteractiveObject io) {
		this.io = io;
	}
	public void setNum(long num) {
		this.num = num;
	}
	public void setShow(long show) {
		this.show = show;
	}
}
